<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>网上商城</title>
		<link type="text/css" href="${ctx}/css/screen.css" rel="stylesheet" />
		<script src="${ctx}/js/home.js" type="text/javascript"></script>
	</head>
	<body>
		<div class="page_wrapper">
			<div class="main">
				<jsp:include page="/common/header.jsp"></jsp:include>
				<div class="maincontent">
					<div class="mainbanner">
					</div>
					<div class="content">
						<div class="pro">
							<ul>
								<c:forEach items="${spGoodsInfo.result}" var="item"
									varStatus="status">
									<c:if test="${status.count!=5}">
										<li class="pro_li1">
											<div>
												<img src="${ctx}/${item.goodsUrl}">
											</div>
											<p>
												${item.goodsName}
											</p>
											<p>
												市场价格:￥ ${item.marketPrice}
											</p>
											<p>
												会员价格:￥ ${item.memberPrice}
											</p>
											<a
												href="${ctx}/pub/goods/goods!getGoodDetail.action?id=${item.id }">详细</a>
											<a href="">购买</a>
										</li>
									</c:if>
								</c:forEach>
							</ul>
						</div>
						<img src="./images/index/hot_pro.jpg" />
						<div class="pro">
							<ul>
								<c:forEach items="${hotGoodsInfo.result}" var="item"
									varStatus="status">
									<c:if test="${status.count!=5}">
										<li class="pro_li1">
											<div>
												<img src="${ctx}/${item.goodsUrl}">
											</div>
											<p>
												${item.goodsName}
											</p>
											<p>
												市场价格:￥${item.marketPrice}
											</p>
											<p>
												会员价格:￥${item.memberPrice}
											</p>
											<a
												href="${ctx}/pub/goods/goods!getGoodDetail.action?id=${item.id }">详细</a>
											<a href="">购买</a>
										</li>
									</c:if>
								</c:forEach>
							</ul>
						</div>
						<img src="./images/index/bargain.jpg" />
						<div class="pro"
							style="background-image: url(./images/index/pro_bottom.jpg); height: 166px;">
							<ul>
								<c:forEach items="${spGoodsInfo.result}" var="item"
									varStatus="status">
									<c:if test="${status.count!=5}">
										<li class="pro_li1">
											<div>
												<img src="${ctx}/${item.goodsUrl}">
											</div>
											<p>
												${item.goodsName}
											</p>
											<p>
												市场价格:￥${item.marketPrice}
											</p>
											<p>
												会员价格:￥${item.memberPrice}
											</p>
											<a
												href="${ctx}/pub/goods/goods!getGoodDetail.action?id=${item.id }">详细</a>
											<a href="">购买</a>
										</li>
									</c:if>
								</c:forEach>
							</ul>
						</div>
					</div>
				</div>
				<jsp:include page="/common/footer.jsp"></jsp:include>
			</div>
		</div>
	</body>
</html>
